<!-- 视频播放 -->
<template>
  <div class="video_container">
    <iframe
      class="video"
      :src="`../../../static/video_live.html?videoType=${video_type}`"
      width="100%"
      height="100%"
      frameborder="0"
    ></iframe>
  </div>
</template>

<script>
export default {
  name: '',
  data() {
    return {
      video_type: '', // CCTV1直播源
    };
  },

  created() {},

  mounted() {},

  methods: {
    videoPause() {},
    getStream(source) {
      let data = JSON.parse(source);
      this.video_type = data.weburi;
    },
  },
};
</script>

<style>
.video_container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
</style>